package org.aldar.bquest.entity;

import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas;
import org.andengine.opengl.texture.region.ITextureRegion;

/**
 * Created with IntelliJ IDEA.
 * User: Daria
 * Date: 5/28/13
 * Time: 11:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class LsTextureDef {

    private String textureFilename;

    private String baseTextureFilename;

    private int steps;

    private ITextureRegion textureRegion;

    private ITextureRegion baseTextureRegion;

    private BitmapTextureAtlas textureAtlas;

    private int width;
    private int height;

    private int baseWidth;
    private int baseHeight;

    public LsTextureDef(String textureFilename, int steps, int width, int height, String baseTextureFilename, int baseWidth, int baseHeight) {
        this(textureFilename, steps, width, height);
        this.baseTextureFilename = baseTextureFilename;
        this.baseWidth = baseWidth;
        this.baseHeight = baseHeight;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public ITextureRegion getTextureRegion() {
        return textureRegion;
    }

    public void setTextureRegion(ITextureRegion textureRegion) {
        this.textureRegion = textureRegion;
    }

    public void setTextureAtlas(BitmapTextureAtlas textureAtlas) {
        this.textureAtlas = textureAtlas;
    }

    public LsTextureDef(String textureFilename, int steps, int width, int height) {
        this.textureFilename = textureFilename;
        this.steps = steps;
        this.width = width;
        this.height = height;
    }

    public String getTextureFilename() {
        return textureFilename;
    }

    public void setTextureFilename(String textureFilename) {
        this.textureFilename = textureFilename;
    }

    public int getSteps() {
        return steps;
    }

    public void setSteps(int steps) {
        this.steps = steps;
    }

    public String getBaseTextureFilename() {
        return baseTextureFilename;
    }

    public int getBaseWidth() {
        return baseWidth;
    }

    public ITextureRegion getBaseTextureRegion() {
        return baseTextureRegion;
    }

    public void setBaseTextureRegion(ITextureRegion baseTextureRegion) {
        this.baseTextureRegion = baseTextureRegion;
    }

    public int getBaseHeight() {
        return baseHeight;
    }

    public int getHeight() {
        return height;
    }
}
